package com.example.demo.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class User {
    private int userId;
    private String userLogname;
    private String userPwd;
    private String userRealname;
    private String userEmail;
    private int userRole;
    private int userState;
    public User(String userLogname, String userPwd, String userRealname, String userEmail, int userRole, int userState) {
        this.userLogname = userLogname;
        this.userPwd = userPwd;
        this.userRealname = userRealname;
        this.userEmail = userEmail;
        this.userRole = userRole;
        this.userState = userState;
    }

}
